package com.collaboration.electron.dao;

import com.collaboration.electron.entities.DetailedComposition;
import com.collaboration.electron.entities.Product;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author pinzi
 * @param
 * @return 无
 */

@Repository
public interface DetailedCompositionRepository extends CrudRepository<DetailedComposition, Long> {
    @Override
    List<DetailedComposition> findAll();

//    DetailedComposition findAllByProduct(Product product);
}
